package com.zhenghaijin.recommendationservice.service;

import com.zhenghaijin.recommendationservice.model.UserBehavior;
import java.util.List;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

public interface RecommendationService {
    void saveUserBehavior(UserBehavior behavior);
    List<Long> getRecommendations(Long userId);
    Page<Long> getRecommendations(Long userId, Pageable pageable);
    void refreshRecommendations();
}